/*
 * @Author: zhuhaohua 250293786@qq.com
 * @Date: 2024-06-11 15:41:02
 * @LastEditors: DeluxePig 250293786@qq.com
 * @LastEditTime: 2024-06-19 23:46:45
 * @FilePath: \easy-talk\src\api\user.js
 * @Description: 消息/faq接口
 */
import request from '@/utils/request'

// 获取已交互过的知识库列表(消息中心)
export function creatMediaApi(data) {
  return request({
    url: '/users-api/model/faq',
    method: 'post',
    data
  })
}
// 获取faq
export function getFaqApi(params) {
  return request({
    url: '/users-api/model/faq',
    method: 'GET',
    params
  })
}
// 覆盖(更新)faq
export function coverFaqApi(data) {
  return request({
    url: '/users-api/model/faq/cover',
    method: 'POST',
    data
  })
}
